package com.example.huadu_server.landlord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;

@Data
@TableName("landlord_schedule") // 指定数据库表名
public class LandlordSchedule {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer landlordId;
    private Date scheduleDate; // 档期日期
    private Time startTime;    // 时段开始时间
    private Time endTime;      // 时段结束时间
    private String status;     // available, pending, booked, expired
}
